<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!--我的订单页面 -->
<!DOCTYPE html>
<html>
<head>

<title>我卖出的商品</title>
<link href="css/order_my.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	 function skip(curren){
	 
     var url="product_searchMySellOrder.action?method=sellProducts&curren="+curren;
    
    window.location=url;
    }

</script>
</head>
<body>
  
  <div id="nav">
     <span>您的位置： </span>
     <span style="color:#16a085">我卖出的二货</span>
  </div>
  <div id="content">
 <table width="100%" border="0" cellspacing="0" cellpadding="0" id="shopping">
  <tr>
    <td class="goods">订单号</td>
    <td class="goods">交易金额（元）</td>
    <td class="goods">买家</td>
    <td class="goods">联系电话</td>
    <td class="goods">交易时间</td>
    <td class="goods">交易状态</td>
    <!-- <td class="goods">操作</td> -->
  </tr>
  <tr>
    <td colspan="8" class="line"></td>
  </tr>
  
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="shopping1">
	
 <c:forEach items="${house.send}" var="p">
<tr>
<td class="goods order_item_select">${p.orderNo}</td>
<td class="goods order_item_select">${p.sum}</td>
<td class="goods order_item_select">${p.userName}</td>
<td class="goods order_item_select">${p.conPhone}</td>
<td class="goods order_item_select">${p.orderTime}</td>
<c:if test="${p.status eq 1}">
<td class="goods order_item_select">待付款</td></c:if>
<c:if test="${p.status eq 2}">
<td class="goods order_item_select">已完成
</td></c:if>
</tr>
</c:forEach>
</table>
		<table align="center" width=55%>
   	<tr>
   		<td><a onclick="skip('1');" style="cursor:pointer;">首页</a></td>
   		<td><a onclick="skip('${house.currenpage==1?1:house.currenpage-1}');" style="cursor:pointer;">上一页</a></td>
   		<td><a onclick="skip('${house.currenpage==house.totalpage?(house.currenpage):(house.currenpage+1)}');" style="cursor:pointer;">下一页</a></td>
   		<td><a onclick="skip('${house.totalpage}');" style="cursor:pointer;">末页</a></td>
   		<td>当前页:${house.currenpage }/${house.totalpage }</td>
   	</tr>
   	</table>
</div>
</body>
</html>